package com.iot.north.app.demo.exception;

public enum ResultCode {
  /** 成功 */
  SUCCES(0, "success"),
  /** POST请求失败 */
  ERROR_POST_FAIL(10001, "POST mathod fail");

  private int code;
  private String msg;

  ResultCode(int code, String msg) {
    this.code = code;
    this.msg = msg;
  }

  public int getCode() {
    return code;
  }

  public String getMsg() {
    return msg;
  }
}
